/*
========================================================================
 Name        : MdaAudioPlayerAppUi.h
 Author      : 
 Copyright   : Your copyright notice
 Description : 
========================================================================
*/
#ifndef MDAAUDIOPLAYERAPPUI_H
#define MDAAUDIOPLAYERAPPUI_H

#include <aknviewappui.h>

class CMdaAudioPlayerContainerView;

/**
 * @class	CMdaAudioPlayerAppUi MdaAudioPlayerAppUi.h
 * @brief The AppUi class handles application-wide aspects of the user interface, including
 *        view management and the default menu, control pane, and status pane.
 */
class CMdaAudioPlayerAppUi : public CAknViewAppUi
	{
public: 
	// constructor and destructor
	CMdaAudioPlayerAppUi();
	virtual ~CMdaAudioPlayerAppUi();
	void ConstructL();

public:
	// from CCoeAppUi
	TKeyResponse HandleKeyEventL(
				const TKeyEvent& aKeyEvent,
				TEventCode aType );

	// from CEikAppUi
	void HandleCommandL( TInt aCommand );
	void HandleResourceChangeL( TInt aType );

	// from CAknAppUi
	void HandleViewDeactivation( 
			const TVwsViewId& aViewIdToBeDeactivated, 
			const TVwsViewId& aNewlyActivatedViewId );

private:
	void InitializeContainersL();

private: 
	CMdaAudioPlayerContainerView* iMdaAudioPlayerContainerView;
	
	};

#endif // MDAAUDIOPLAYERAPPUI_H			
